﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProgCompte.model
{
    class LigneCompte
    {
        private DateTime date;
        private String categorie;
        private String libelle;
        private int montant;

        public LigneCompte(int m, DateTime d, String l, String c)
        {
            date = d;
            montant = m;
            libelle = l;
            categorie = c;
        }

        public int getMontant()
        {
            return montant;
        }
        public String getLibelle()
        {
            return libelle;
        }
        public String getCategorie()
        {
            return categorie;
        }
        public DateTime getDate()
        {
            return date;
        }
        public String getDateToString()
        {
            return date.ToString();
        }
    }
}
